import Layout from '@/layout'

export default {
  path: '/operations',
  name: 'operations',
  component: Layout,
  redirect: '/operations/link',
  hidden: false,
  alwaysShow: true,
  order: 3,
  meta: { title: '运营管理', icon: 'el-icon-shopping-bag-1' },
  children: [
    {
      path: 'link',
      name: 'link',
      component: () => import('@/views/operations/link'),
      meta: { title: '推广链接管理' },
    },
    {
      path: 'link_statistics',
      name: 'link_statistics',
      component: () => import('@/views/operations/linkData'),
      meta: { title: '推广链接统计' },
    },
    {
      path: 'channel',
      name: 'channel',
      component: () => import('@/views/operations/channel'),
      meta: { title: '渠道管理' },
    },
    {
      path: 'channelData',
      name: 'channelData',
      component: () => import('@/views/operations/channelData'),
      meta: { title: '渠道数据' },
    },
  ],
}
